package com.chat.websocket.entity.vo;

/**
 * SunJingxuan
 * 2022 \ 08 \ 01
 */

public class SocketMessageVO {

	private Long messageId;
	private Integer sendUserId;
	private String nickname;
	private String headImg;
	private String message;

	public SocketMessageVO() {
	}

	public SocketMessageVO(Integer sendUserId, String nickname, String headImg, String message) {
		this.sendUserId = sendUserId;
		this.nickname = nickname;
		this.headImg = headImg;
		this.message = message;
	}

	public SocketMessageVO(Long messageId, Integer sendUserId, String nickname, String headImg, String message) {
		this.messageId = messageId;
		this.sendUserId = sendUserId;
		this.nickname = nickname;
		this.headImg = headImg;
		this.message = message;
	}

	public Long getMessageId() {
		return messageId;
	}

	public void setMessageId(Long messageId) {
		this.messageId = messageId;
	}

	public Integer getSendUserId() {
		return sendUserId;
	}

	public void setSendUserId(Integer sendUserId) {
		this.sendUserId = sendUserId;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getHeadImg() {
		return headImg;
	}

	public void setHeadImg(String headImg) {
		this.headImg = headImg;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	@Override
	public String toString() {
		return "SocketMessageVO{" +
				"messageId=" + messageId +
				", sendUserId=" + sendUserId +
				", nickname='" + nickname + '\'' +
				", headImg='" + headImg + '\'' +
				", message='" + message + '\'' +
				'}';
	}
}
